export default [
    {
        // 对于子路由写 / 路径时一定要写全，如果不不写  /  只写当前路径
        // path:'home'
        path:'/home/stuInfoEntry',
        name:'stuInfoEntry',
        component:()=>import('@/views/home/stuInfo/StuInfoEntry.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"学生信息录入"
            }
        ],
    },
    {
        path:'/home/stuInfoSelect',
        name:'stuInfoSelect',
        component:()=>import('@/views/home/stuInfo/StuInfoSelect.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"学生信息查询"
            }
        ],
        children:[
            {
                path:'/home/stuInfoSelect/personalInfo',
                name:'personalInfo',
                component:()=>import('@/views/home/stuInfoSelect/PersonalInfo.vue'),
                meta:[
                    {
                        name:'主页',
                        url:'/home',
                    },
                    {
                        name:"学生信息查询",
                        url:"/home/stuInfoSelect"
                    },
                    {
                        name:'某个学生信息查询'
                    }
                ],
            },
            {
                path:'allInfo',
                name:'allInfo',
                component:()=>import('@/views/home/stuInfoSelect/AllInfo.vue'),
                meta:[
                    {
                        name:'主页',
                        url:'/home',
                    },
                    {
                        name:"学生信息查询",
                        url:"/home/stuInfoSelect"
                    },
                    {
                        name:'所有学生信息查询'
                    }
                ],
            }
        ]
    },
    {
        path:'/home/testResetComponent',
        name:'testResetComponent',
        component:()=>import('@/views/home/stuInfo/TestResetComponent.vue')
    },
    {
        path:'/home/cameraUpload',
        name:'cameraUpload',
        component:()=>import('@/views/home/stuInfo/CameraUpload.vue')
    },
    {
        path:'/home/allStuInfoHeader',
        name:'allStuInfoHeader',
        component:()=>import('@/views/home/stuInfo/AllStuInfoHeader.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"学生信息查询",
                url:"/home/stuInfoSelect"
            },
            {
                name:'所有学生信息查询',
                url:'/home/stuInfoSelect/allInfo'
            },
            {
                name:'带头像的所有学生信息查询'
            }
        ],

    },
    {
        path:'/home/allStuInfoHeaderHou',
        name:'allStuInfoHeaderHou',
        component:()=>import('@/views/home/stuInfo/AllStuInfoHeaderHou.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"学生信息查询",
                url:"/home/stuInfoSelect"
            },
            {
                name:'所有学生信息查询',
                url:'/home/stuInfoSelect/allInfo'
            },
            {
                name:'带头像的所有学生信息查询后台分页'
            }
        ],
        
    },
    {
        path:'/home/allStuInfoNoHeader',
        name:'allStuInfoNoHeader',
        component:()=>import('@/views/home/stuInfo/AllStuInfoNoHeader.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"学生信息查询",
                url:"/home/stuInfoSelect"
            },
            {
                name:'所有学生信息查询',
                url:'/home/stuInfoSelect/allInfo'
            },
            {
                name:'不带头像的所有学生信息查询'
            }
        ],
    },
    {
        path:'/home/stuDetail',
        name:'stuDetail',
        component:()=>import('@/views/home/stuInfo/StuDetail.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"学生信息查询",
                url:"/home/stuInfoSelect"
            },
            {
                name:'所有学生信息查询',
                url:'/home/stuInfoSelect/allInfo'
            },
            {
                name:'带头像的所有学生信息查询',
                url:'/home/allStuInfoHeader'
            },
            {
                name:'学生信息详情'
            }
        ],
    },
    {
        path:'/index/entryGradeInput',
        name:'entryGradeInput',
        component:()=>import('@/views/home/stuGrade/entryGrade/EntryGradeInput.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"入学成绩录入"
            }
        ],
    },
    {
        path:'/index/entryGradeSelect',
        name:'entryGradeSelect',
        component:()=>import('@/views/home/stuGrade/entryGrade/EntryGradeSelect.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"入学成绩查询"
            }
        ],
    },
    {
        path:'/index/midGradeInput',
        name:'midGradeInput',
        component:()=>import('@/views/home/stuGrade/midGrade/MidGradeInput.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"期中成绩录入"
            }
        ],
    },
    {
        path:'/index/midGradeSelect',
        name:'midGradeSelect',
        component:()=>import('@/views/home/stuGrade/midGrade/MidGradeSelect.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"期中成绩查询"
            }
        ],
    },
    {
        path:'/index/endGradeInput',
        name:'endGradeInput',
        component:()=>import('@/views/home/stuGrade/endGrade/EndGradeInput.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"期末成绩录入"
            }
        ],
    },
    {
        path:'/index/endGradeSelect',
        name:'EndGradeSelect',
        component:()=>import('@/views/home/stuGrade/endGrade/EndGradeSelect.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"期末成绩查询"
            }
        ],
    },
    {
        path:'/index/gradeAnalysis',
        name:'gradeAnalysis',
        component:()=>import('@/views/home/GradeAnalysis.vue'),
        meta:[
            {
                name:'主页',
                url:'/home',
            },
            {
                name:"成绩分析"
            }
        ],

    }
]